<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Branch
 *
 * @author Le Vo Huu Tai
 */


class Category {

    /**
     *
     * @var int
     */
    public $category_id;
    
    /**
     *
     * @var string
     */
    public $category_image;
    
    /**
     *
     * @var int
     */
    public $category_name;
    
    /**
     *
     * @var int
     */
    public $parent_id;
   
   
    /**
     *
     * @var int
     */
    public $sort_order;
    
    /**
     *
     * @var int
     */
    public $date_added;
    
    /**
     *
     * @var int
     */
    public $last_modified;
    
    /**
     * Constructor 
     */
    public function  __construct($category_id = null, $category_image = null, $category_name = null,$parent_id = null, 
                                 $sort_order = null, $date_added = null, $last_modified = null) {

        $this->category_id = $category_id;
        $this->category_image = $category_image;
        $this->category_name = $category_name;
        $this->parent_id = $parent_id;
        $this->sort_order = $sort_order; 
        $this->date_added = $date_added; 
        $this->last_modified = $last_modified;

    }
}


class ListCategory{

    /**
     *
     * @var category[]
     */
    public $Category;
}